package og.example.entity;
// 假设实体类位于此包中

public class Class {
    private Integer classId;
    private String className;
    private int groupCount;

    // 主构造函数
    public Class(Integer classId, String className, int groupCount) {
        this.classId = classId;
        this.className = className;
        this.groupCount = groupCount;
    }

    // classId 的 getter 和 setter
    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    // className 的 getter 和 setter
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    // groupCount 的 getter 和 setter
    public int getGroupCount() {
        return groupCount;
    }

    public void setGroupCount(int groupCount) {
        this.groupCount = groupCount;
    }
}